package com.mc.music_web.mapper;

import com.mc.music_web.entity.CD;
import com.mc.music_web.vo.CDVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
@Mapper
public interface CdVoMapper {

    List<CDVo> selectCDVo();
    //单查询
    CD selectByPrimaryKeyCDVo(Integer CDId);
    //删除
    int delCDVo(Integer CDId);
    //添加
    int insertCDVo(CD cd);


    //修改
    int updateCDVo(CD cd);


    //模糊查询
    List<CDVo> selectByCD(String keyword);
}
